home *** CD-ROM | disk | FTP | other *** search
/ Designer's Club 2000 November / Designer's Club 2000 November.iso / pc / DC Users Guide / Tutorials / Flash_Tutorial.exe / Flash_Tutorial.DXR / 00160.ls < prev    next >
Encoding:
Text File  |  2000-09-29  |  763 b   |  44 lines

  1. on mouseEnter me
  2.   puppetSound(1, "buttonflicker")
  3.   cursor(280)
  4.   if the spriteNum of me = 4 then
  5.     go("tut1")
  6.   end if
  7.   if the spriteNum of me = 5 then
  8.     go("tut2")
  9.   end if
  10.   if the spriteNum of me = 6 then
  11.     go("tut3")
  12.   end if
  13.   if the spriteNum of me = 7 then
  14.     go("tut4")
  15.   end if
  16.   if the spriteNum of me = 8 then
  17.     go("tut5")
  18.   end if
  19. end
  20.  
  21. on mouseLeave me
  22.   cursor(-1)
  23. end
  24.  
  25. on mouseUp me
  26.   puppetSound(1, "buttonclick")
  27.   cursor(-1)
  28.   if the spriteNum of me = 4 then
  29.     go("lesson1")
  30.   end if
  31.   if the spriteNum of me = 5 then
  32.     go("lesson2")
  33.   end if
  34.   if the spriteNum of me = 6 then
  35.     go("lesson3")
  36.   end if
  37.   if the spriteNum of me = 7 then
  38.     go("lesson4")
  39.   end if
  40.   if the spriteNum of me = 8 then
  41.     go("lesson5")
  42.   end if
  43. end
  44.